const agentRouter = {
  path: '/agent',
  name: 'agent',
  meta: { title: '智能体', permission: 'APPLICATION:READ' },
  redirect: '/agent',
  component: () => import('@/layout/layout-template/AppLayout.vue'),
  children: [
    {
      path: '/agent',
      name: 'agent-index',
      meta: { title: '智能体主页', activeMenu: '/agent' },
      component: () => import('@/views/agent/index.vue')
    },
    {
      path: '/agent/chat/:accessToken',
      name: 'agent-chat',
      meta: { title: '智能体chat', activeMenu: '/agent' },
      component: () => import('@/views/agent/chat/index.vue')
    },
  ]
}

export default agentRouter
